<?php

/**
 * PollLog form.
 *
 * @package    wills
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class PollLogForm extends BasePollLogForm
{
  public function configure()
  {
    unset($this['created_at'], $this['updated_at'], $this['ip']);
    
    $this->widgetSchema['contestant_id']->setOption('expanded', true);
    
    $this->validatorSchema->setPostValidator(new DoctrineValidatorPollLog());
  }
}
